.draggable {
  position: absolute;
  user-select: none;
  $w: 8px;
  width: 600px;
  height: 400px;

  .drag-hander {
    cursor: move;
  }
  .resizable {
    position: absolute;
    z-index: 10;
    &:active{
        z-index: 100;
    }
  }
  .right {
    right: 0;
    top: 4px;
    width: 8px;
    height: calc(100% - 8px);
    cursor: e-resize;
  }
  .bottom {
    width: calc(100% - 4px);
    height: 8px;
    left: 4px;
    bottom: -4px;
    cursor: s-resize;
  }
  .top {
    width: calc(100% - 16px);
    height: 8px;
    left: 8px;
    top: -4px;
    cursor: s-resize;
  }
  .left {
    left: 0;
    top: 4px;
    width: 8px;
    height: calc(100% - 8px);
    cursor: e-resize;
  }
  .tr {
    width: 8px;
    height: 8px;
    right: 0;
    top: -4px;
    cursor:ne-resize;
  }
  .br {
    width: 8px;
    height: 8px;
    right: 0;
    bottom: -2px;
    cursor:nw-resize;
  }
  .bl {
    width: 8px;
    height: 8px;
    left: 0px;
    bottom: -2px;
    cursor:ne-resize;
  }
  .tl {
    width: 8px;
    height: 8px;
    left: 0px;
    top: -4px;
    cursor:nw-resize;
  }
}
